datas=[['95572FC29A8F469698186FFBB17E9F5D', '52038396455623F425101000006', '11520300096455623F400012312700302-01'], ['DBD65AA4E24E455CA459A0991B24FC10', '52032266071574F425101000003', '11520322766071574F400203611000302']]
lists=[]
for i in datas:
    lists.append({
        "bsNum": f"{i[0]}",
        "receiveNumber": f"{i[1]}",
        "itemCode": f"{i[2]}",
        "bsType": "accept"
    })


from urllib.parse import quote, unquote

# 原始 URL 或参数（包含中文和特殊字符）
original_url = "https://example.com?name=张三&age=20&desc=hello world"

# 编码：将特殊字符转换为 %XX 格式
encoded_url = quote(original_url, safe=':/?&=')  # safe 参数指定不编码的字符
print("编码后：", encoded_url)
# 输出：https://example.com?name=%E5%BC%A0%E4%B8%89&age=20&desc=hello%20world

# 解码：还原为原始字符串
decoded_url = unquote(encoded_url)
print("解码后：", decoded_url)
# 输出：https://example.com?name=张三&age=20&desc=hello world